package com.china08.yxyapi.entity.db.huodong;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 微课大赛报名
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_huodong_weike_com", catalog = "yxy_huodong")
public class YxyHuodongWeikeContest extends BaseEntityNoId {

    @Id
    @Column(name = "user_id", columnDefinition = "varchar(32) comment '用户id'", nullable = false)
    private String userId;

    @Column(name = "user_nick", columnDefinition = "varchar(256) comment '用户名称'", nullable = false)
    private String userNick;

    /**
     * 学段名称 redundant column
     */
    @Column(name = "mobile", columnDefinition = "varchar(32) comment '手机号码' ")
    private String mobile;

    /**
     * 学科id redundant column
     */
    @Column(name = "school_id", columnDefinition = "varchar(32) comment '学校id' ")
    private String schoolid;

    /**
     * 学科名称, redundant column
     */
    @Column(name = "school_nick", columnDefinition = "varchar(32) comment '学校名称' ")
    private String schoolNick;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(String schoolid) {
        this.schoolid = schoolid;
    }

    public String getSchoolNick() {
        return schoolNick;
    }

    public void setSchoolNick(String schoolNick) {
        this.schoolNick = schoolNick;
    }

}
